import { cmsRequest } from '@/request'

// 获取新增植物的各类options
export const fetchOptionList = () => {
  return cmsRequest.get('/plant/dictionary/options')
}

export const imageUpload = (payload: any) => {
  return cmsRequest.post('/plant/image/upload', payload)
}